function GD_mean=GD(name,chromosome,nObj,nVar)
if nObj==4
    pknow(:,1)=chromosome(:,nVar+2);
    pknow(:,2)=chromosome(:,nVar+4);
elseif nObj==6
    pknow(:,1)=chromosome(:,nVar+2);
    pknow(:,2)=chromosome(:,nVar+4);
    pknow(:,3)=chromosome(:,nVar+6);
end
if nObj==4
    ptru=ptrue(name);
elseif nObj==6
    ptru=ptrue1(name);
end
for i=1:size(pknow,1)
    for j=1:size(ptru,1)
        dist_temp(j)=norm((pknow(i,:)-ptru(j,:)),2);
    end
    dist(i)=min(dist_temp);
end
GD_mean=mean(dist);
